import service from '../utils/request2.js'

//查询所有的聊天记录窗口
export const getAllChatWindow = (data) => service({
	url:'/api/chat/all',
	method:'get',
	data
})
//获取单个用户的所有聊天记录
export const getOneUserChatList = (data) => service({
	url:'/api/chat/user',
	method:'get',
	data
})